package com.example.fsd.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangguihong
 * @since 2024-11-22
 */
@Getter
@Setter
@ApiModel(value = "News对象", description = "")
public class News implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("新闻-图片资源地址")
    private String imgUrl;

    @ApiModelProperty("跳转地址")
    private String url;

    @ApiModelProperty("新闻标题中文")
    private String titleCn;

    @ApiModelProperty("新闻说明描述")
    private String descCn;

    @ApiModelProperty("新闻标题俄文")
    private String titleRa;

    @ApiModelProperty("新闻说明描述俄语言")
    private String descRa;

    @ApiModelProperty("时间")
    private Date createTime;

    @ApiModelProperty("是否展示")
    private Integer isShow;
}
